Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@kconner
kconner / macOS Internals.md
Last active November 4, 2026 04:48
macOS Internals

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options:

@paulmiu
paulmiu / led.ahk
Created September 17, 2015 07:38
control keyboard LEDs with AutoHotkey
/*
Keyboard LED control for AutoHotkey_L
http://www.autohotkey.com/forum/viewtopic.php?p=468000#468000
KeyboardLED(LEDvalue, "Cmd", Kbd)
LEDvalue - ScrollLock=1, NumLock=2, CapsLock=4
Cmd - on/off/switch
Kbd - index of keyboard (probably 0 or 2) try 0 to 5
@lucasmz-dev
lucasmz-dev / fedora_android-tools-udev-rules.md
Last active November 4, 2026 04:41
Installing android-tools in Fedora

How to properly install android-tools in Fedora

Currently, it seems as if Fedora doesn't install udev-rules, to get this working, I've had to manually install them from a community project. I'm not very knowledgable in Linux, these are just the steps I had to do to get things working that I'd like to document.

Install android-tools

Install android-tools from DNF.

sudo dnf install android-tools

Terms of Service

Last updated: July 5, 2026

These Terms of Service ("Terms") govern your use of the Jupiter Discord bot (the "Bot"). By participating in a Discord server where the Bot is present, you agree to these Terms. If you do not agree, do not use the server.

1. What the Bot is

Privacy Policy

Last updated: July 5, 2026

This Privacy Policy explains what information the Jupiter Discord bot (the "Bot") processes, why, and how it is handled. The Bot is a moderation and community-management application operated in a small number of Discord communities managed by the same team. By using a Discord server where the Bot is present, you acknowledge the practices described here.

@gsimone
gsimone / sources.md
Created November 3, 2026 19:08
crunchy ps2 style rendering resources
@x0nu11byt3
x0nu11byt3 / elf_format_cheatsheet.md
Created February 27, 2021 05:26
ELF Format Cheatsheet

ELF Format Cheatsheet

Introduction

Executable and Linkable Format (ELF), is the default binary format on Linux-based systems.

ELF

Compilation

@hoshinolina
hoshinolina / arkit.md
Last active November 4, 2026 04:26
ARKit/FaceKit notes

Introduction

ARKit face tracking is shrouded in a ton of myth and mystique.

I reverse engineered the internal face tracking API, and this is how it actually works.

Disclaimer

This is based on reverse engineering the API of Apple's face detection framework and testing it with my own code. Some of it is educated guesswork based on names and strings. I did not reverse engineer the details of how ARKit/FaceKit works, but given what I've seen, I'm quite confident in the overall big picture.